package com.xms.ribbonbutton.event;

import com.xms.event.core.ObjectCreatedEvent;
import com.xms.schema.entity.Entity;

import java.util.List;
import java.util.UUID;

/**
 * <p>
 * 创建默认按钮事件
 * </p>
 *
 * @author migo
 * @since 2021/9/29
 */
public class CreateDefaultButtonsEvent extends ObjectCreatedEvent<Entity> {
    public CreateDefaultButtonsEvent(Entity entity)
    {
        super(entity);
    }

    public CreateDefaultButtonsEvent(Entity entity, List<UUID> defaultButtons)
    {
        super(entity);
        DefaultButtons = defaultButtons;
    }

    public List<UUID> DefaultButtons;
}
